home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cpsmod.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_COMPASSMODEL_H = 1;
- include("oops/r3model.js")
-
-
- var R3CLID_COMPASSMODEL = 1262;
-
-
-
-
- // Description: Adds a compass.
- // p3: String, name for the new compass.
-
- R3COMPASSMODM_ADDCOMPASS = 1262000;
-
- function mR3COMPASSMODM_ADDCOMPASS(p3) {
- DoA(this.r3obj, 1262000, p3, R3TID_STRING, 0);
- }
-
- // Description: Deletes a compass.
- // p3: String, name of the compass to be deleted.
-
- R3COMPASSMODM_DELETECOMPASS = 1262001;
-
- function mR3COMPASSMODM_DELETECOMPASS(p3) {
- DoA(this.r3obj, 1262001, p3, R3TID_STRING, 0);
- }
-
- // Description: Enumerates compasses.
- // p1: Object, callback object
- // p2: Integer, callback method
- // p3: Object, user context
-
- R3COMPASSMODM_ENUMCOMPASSES = 1262002;
-
- function mR3COMPASSMODM_ENUMCOMPASSES(p1, p2, p3) {
- DoA3(this.r3obj, 1262002, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Sets a named macro for a given compass and position
- // p1: String, name of the compass
- // p2: Integer[], array of two values: direction and distance
- // p3: String, macro name
-
- R3COMPASSMODM_SETCOMPASSMACR = 1262003;
-
- function mR3COMPASSMODM_SETCOMPASSMACR(p1, p2, p3) {
- DoA3(this.r3obj, 1262003, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_STRING, 0);
- }
-
- // Description: Gets a named macro for a given compass and position
- // p1: String, name of the compass
- // p2: Integer[], array of two values: direction and distance
- // p3: String, buffer for macro name
-
- R3COMPASSMODM_GETCOMPASSMACR = 1262004;
-
- function mR3COMPASSMODM_GETCOMPASSMACR(p1, p2, p3) {
- DoA3(this.r3obj, 1262004, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_STRING, 0);
- }
-
- // Description: Finds a compass by name.
- // Returns: Boolean, TRUE if compass is found, FALSE otherwise
- // p3: String, compass name
-
- R3COMPASSMODM_FINDCOMPASS = 1262005;
-
- function mR3COMPASSMODM_FINDCOMPASS(p3) {
- return DoA(this.r3obj, 1262005, p3, R3TID_STRING, 0);
- }
-
- // Description: Sets a label for a given compass and position
- // p1: String, name of the compass
- // p2: Integer[], array of two values: direction and distance
- // p3: String, label
-
- R3COMPASSMODM_SETCOMPASSLABE = 1262008;
-
- function mR3COMPASSMODM_SETCOMPASSLABE(p1, p2, p3) {
- DoA3(this.r3obj, 1262008, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_STRING, 0);
- }
-
- // Description: Gets a label for a given compass and position
- // p1: String, name of the compass
- // p2: Integer[], array of two values: direction and distance
- // p3: String, buffer for label
-
- R3COMPASSMODM_GETCOMPASSLABE = 1262009;
-
- function mR3COMPASSMODM_GETCOMPASSLABE(p1, p2, p3) {
- DoA3(this.r3obj, 1262009, p1, R3TID_STRING, 0, p2, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_STRING, 0);
- }
-
-
-
-
-
-
- function r3Compassmodel () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_COMPASSMODEL, arguments);
- }
- // Methods
- this.ADDCOMPASS=mR3COMPASSMODM_ADDCOMPASS;
- this.DELETECOMPASS=mR3COMPASSMODM_DELETECOMPASS;
- this.ENUMCOMPASSES=mR3COMPASSMODM_ENUMCOMPASSES;
- this.SETCOMPASSMACR=mR3COMPASSMODM_SETCOMPASSMACR;
- this.GETCOMPASSMACR=mR3COMPASSMODM_GETCOMPASSMACR;
- this.FINDCOMPASS=mR3COMPASSMODM_FINDCOMPASS;
- this.SETCOMPASSLABE=mR3COMPASSMODM_SETCOMPASSLABE;
- this.GETCOMPASSLABE=mR3COMPASSMODM_GETCOMPASSLABE;
-
- // Attributes
- }
-
- r3Compassmodel.prototype=new r3Model;
- // r3cpsmod.h_H